package com.iss.controller;

import com.iss.model.Order;
import com.iss.service.OrderService;

public class OrderController {
    private OrderService service = new OrderService();

    public Boolean checkIn(String phoneNo,String roomNO,Integer duration){

        return  service.checkIn(phoneNo,roomNO,duration);
    }

    public Order getOrder(String roomNO){

        return service.getOrder(roomNO);
    }

    public boolean checkOut(String roomNO) {

      return   service.checkOut(roomNO);
    }
}
